@charset"utf-8";
@import"color";
@import"model";
$themeColor:$cyan;
html, body {
    background-color: #e8e8e8;
    margin: 0;
    font-size: 13px;
    padding: 0!important;
    padding-left: 0!important;
    padding-right: 0!important;
    height: 100%;
}
* {
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif!important;
}
.top {
    padding: 10px 2%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: fixed;
    width: 96%;
    top: 0;
    left: 0;
    z-index: 1000;
    img {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
    }
    .method {
        float: right;
        color: $themeColor;
        line-height: 2rem;
    }
}
._bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: $white;
    a {
        padding: .3rem 0;
        display: inline-block;
        vertical-align: top;
        line-height: 2rem;
        width: 16.6%;
        text-align: center;
        border-top: 1px solid #eee;
        color: $themeColor;
        text-decoration: none;
        font-size: 20px;
    }
}
.body {
    padding: 4rem 2%;
    width: 100%;
    box-sizing: border-box;
}
.main {
    width: 100%;
    padding-bottom: 3rem;
    .mtitle {
        color: $grayLight;
        font-size: 15px;
        font-weight: lighter;
        margin-bottom: .3rem;
    }
    .plan {
        width: 100%;
        background-color: $themeColor;
        color: $white;
        @include breakLine;
        padding: 1rem 0;
        text-align: center;
        margin-bottom: 1.5rem;
        .item {
            display: inline-block;
            width: 33.3%;
            border-right: 1px solid $white;
            &:last-child {
                border-right: 0;
            }
            .icon-information, .icon-roundcheck, .icon-fenxiang {
                margin-bottom: 10px;
                &:before {
                    font-size: 30px;
                }
            }
        }
    }
    .add {
        display: inline-block;
        padding: .5rem 2rem;
        text-align: center;
        color: $white;
        background-color: $themeColor;
    }
    .addbox {
        width: 100%;
        margin-top: .5rem;
        @include comic(.3);
        transform: scaleY(0);
        transform-origin: top;
        margin-bottom: 1.5rem;
        height: 0;
        &.focus {
            height: auto;
            transform: scaleY(1);
        }
        input {
            width: 60%;
        }
    }
    .eventbox {
        width: 100%;
        .item {
            @include newLine;
            padding: .5rem 2%;
            width: 96;
            background-color: $black;
            color: $white;
            margin-bottom: .5rem;
            line-height: 1.5rem;
            @include comic(.5);
            &.focus {
                background-color: #468847;
            }
            .method {
                text-align: right;
                div {
                    display: inline-block;
                    vertical-align: top;
                    font-size: 12px;
                    padding: .3rem .3rem 0 .3rem;
                }
            }
        }
    }
}
.near {
    width: 100%;
    padding-bottom: 4rem;
    .bmap {
        width: 100%;
        height: 350px;
        margin-bottom: 1.5rem;
        box-shadow: 0 0 4px #aaa;
        .BMap_Marker {
            background-image: url('/images/marker.png');
            background-size: 100%;
            width: 25px!important;
            height: 25px!important;
            img {
                display: none!important;
            }
        }
    }
    .map_bounds {
        div {
            border: 0!important;
        }
    }
    .map_search {
        margin-bottom: 1.5rem;
        input {
            margin-right: 10px;
        }
    }
}
.qrcode {
    width: 100%;
    text-align: center;
    padding-top: 5rem;
    p {
        font-size: 15px;
        font-weight: lighter;
        color: $grayLight;
    }
}
.notes {
    width: 100%;
    padding-bottom: 4rem;
    .appendnote {
        text-align: center;
        width: 96%;
        padding: .5rem 2%;
        background-color: $white;
        box-shadow: 0 0 6px #aaa;
        textarea {
            width: 96%;
            padding: .3rem 2%;
            height: 4rem;
            resize: none;
            margin-bottom: .5rem!important;
            display: block;
        }
        .choosetype {
            margin-bottom: .5rem;
        }
        .toolbar {
            .item {
                display: inline-block;
                vertical-align: top;
                margin: 0 1rem;
                .icon-edit, .icon-xiangji {
                    padding: .3rem;
                }
            }
        }
    }
    .notebox {
        margin-top: 1.5rem;
        width: 100%;
        .item {
            width: 96%;
            padding: .5rem 2%;
            background-color: $white;
            margin-bottom: .5rem;
            .initem {
                line-height: 1.5rem;
                padding: .3rem 0;
                .il {
                    display: inline-block;
                    vertical-align: top;
                    width: 50%;
                }
                .ir {
                    @include Line(1);
                    display: inline-block;
                    vertical-align: top;
                    width: 50%;
                    text-align: right;
                    color: $themeColor;
                }
                img {
                    max-width: 100%;
                    height: auto;
                }
            }
        }
    }
    .icon-fenlei {
        position: fixed;
        padding: .5rem;
        background-color: $themeColor;
        color: $white;
        bottom: 3rem;
        z-index: 1000;
        left: 0px;
        @include comic(.3);
        &.focus {
            transform: translateX(180px);
        }
    }
}
.typebox {
    position: fixed;
    z-index: 999;
    width: 160px;
    height: 100%;
    padding: 4rem 10px 5rem 10px;
    top: 0;
    left: -200px;
    background-color: $white;
    overflow-y: scroll;
    @include comic(.3);
    &.focus {
        transform: translateX(200px);
    }
    .add-type {
        width: 100%;
        margin-bottom: 1rem;
        input {
            width: 80px;
            margin-right: 10px;
        }
    }
    .typelist {
        width: 100%;
        .item {
            width: 90%;
            @include Line(1);
            padding: .4rem 5%;
            background-color: $themeColor;
            color: $white;
            margin-bottom: .3rem;
        }
    }
}
.typeblock {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba($black, .3);
    z-index: 998;
    @include comic(.3);
    left: 120%;
    &.focus {
        transform: translateX(-120%);
    }
}
.perinfo {
    width: 100%;
    @include breakLine;
    .logobox {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
        img {
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            margin-bottom: .5rem;
        }
    }
    .infobox {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 1rem;
        margin-right: 50%;
        width: 100%;
        background-color: $white;
        text-align: center;
        margin-left: 0;
        @include comic(.3);
        &.focus {
            margin-left: -150%;
        }
        .item {
            width: 96%;
            padding: .6rem 2%;
            .city {
                width: 20%;
                margin: 0 3%;
            }
        }
        .line {
            margin: 0 auto;
            height: 1px;
            width: 94%;
            // filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ccc', endColorStr='#fff', gradientType='0');
            background: -moz-linear-gradient(top, #ccc, #fff);
            background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ccc), to(#fff));
        }
    }
    .btnitem {
        button {
            margin-right: .5rem;
        }
    }
}
.body {
    height: 100%;
}
.icon-fenlei {
    position: fixed;
    padding: .5rem;
    background-color: $themeColor;
    color: $white;
    bottom: 3rem;
    z-index: 1000;
    left: 0px;
    @include comic(.3);
    &.focus {
        transform: translateX(180px);
    }
}
.people {
    width: 100%;
    height: 100%;
    @include comic(.3);
    -webkit-filter: blur(0);
    &.focus {
        filter: blur(5px);
        -webkit-filter: blur(5px);
    }
    .chatbox {
        height: 100%;
        background-color: $white;
        position: relative;
        box-sizing: border-box;
        padding: 2.6rem .5rem 3rem .5rem;
        @include comic(.3);
        transform: scale(0);
        &.focus {
            transform: scale(1);
        }
        .title {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            box-sizing: border-box;
            padding: .3rem .5rem;
            line-height: 2rem;
            background-color: $white;
            img {
                width: 2rem;
                height: 2rem;
                border-radius: 50%;
                margin-right: .5rem;
            }
        }
        .msgbox {
            height: 100%;
            overflow-y: scroll;
            .item {
                width: 100%;
                margin-bottom: .5rem;
                line-height: 1.5rem;
                &.focus {
                    text-align: right;
                    .inbox {
                        background-color: $themeColor;
                        color: $white;
                    }
                }
                .inbox {
                    display: inline-block;
                    text-align: left;
                    max-width: 80%;
                    min-width: 60%;
                    padding: .3rem;
                    background-color: #efefef;
                    @include newLine;
                }
            }
        }
        .rebox {
            width: 100%;
            position: absolute;
            height: 3rem;
            line-height: 3rem;
            box-sizing: border-box;
            left: 0;
            bottom: 0;
            padding: 0 .5rem;
            background-color: $white;
            @include breakLine;
            input {
                width: 71%;
                padding: .2rem 2%;
            }
            .icon-baocun {
                display: inline-block;
                height: 3rem;
                line-height: 3rem;
                width: 10%;
                text-align: center;
            }
            button {
                width: 15%;
                padding: .4rem 0;
            }
        }
    }
}
.friendlist {
    width: 180px;
    padding: 4rem 10px;
    background-color: $white;
    position: fixed;
    z-index: 999;
    left: -200px;
    top: 0;
    box-sizing: border-box;
    height: 100%;
    @include comic(.3);
    &.focus {
        transform: translateX(200px);
    }
    .title {
        position: absolute;
        top: 4rem;
        left: 0;
        width: 160px;
        padding: 0 10px;
        height: 2.5rem;
        line-height: 2.5rem;
        font-size: 15px;
        color: $grayLight;
        font-weight: lighter;
        background-color: $white;
    }
    .list {
        height: 100%;
        overflow-y: scroll;
        .titleblock {
            height: 3rem;
        }
        .item {
            width: 100%;
            line-height: 2rem;
            padding: .5rem 0;
            @include Line(1);
            font-size: 14px;
            color: $black;
            &.rec {
                background-color: $themeColor;
                color: $white;
            }
            img {
                display: inline-block;
                width: 2rem;
                height: 2rem;
                border-radius: 50%;
                margin-right: .5rem;
            }
        }
    }
}
.course{
    width: 100%;
    .title{
        color: $black;
        font-size: 18px;
        font-weight: lighter;
    }
    .tool{
        margin-top: 1.5rem;
        input,select{
            display: block;
            margin-bottom: 5px!important;
        }
    }
    .list{
        margin-top: 1.5rem;
        .item{
            display: inline-block;
            vertical-align: top;
            padding-left: .3rem;
            padding-right: 2.6rem;
            position: relative;
            height: 2rem;
            line-height: 2rem;
            max-width: 40%;
            background-color: $white;
            margin-right: .5rem;
            margin-bottom: .5rem;
            .icon-jianpan,.icon-video{
                &:before{
                    font-size: 15px;
                    margin-right: .3rem;
                }
            }
            .icon-delete2{
                width: 2.6rem;
                height: 2rem;
                position: absolute;
                text-align: center;
                top: 0;
                right: 0;
            }
        }
    }
}
.all_course{
    position: fixed;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 4rem 2%;
    background-color: $white;
    z-index: 99;
    top: 0;
    left: -110%;
    @include comic(.35);
    &.focus{
        transform: translateX(110%);        
    }
    .icon-jinru{
        position: absolute;
        z-index: 101;
        top: 4rem;
        left: 2%;
        font-size: 24px;
        color: $themeColor;
    }
    .title{
        font-size: 18px;
        margin-bottom: 1rem;
        font-weight: lighter;
        color: $grayLight;
        line-height: 1.5rem;
        text-align: right;
        &.icon-jianpan,&.icon-video{
            &:before{
                margin-right: .5rem;
            }
        }
    }
    .list{
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        .item{
            box-sizing: border-box;
            padding-left: .3rem;
            height: 2rem;
            line-height: 2rem;
            padding-right: 2.6rem;
            width: 100%;
            display: block;
            background-color: #efefef;
            @include Line(1);
            margin-bottom: .5rem;
            position: relative;
            &.icon-jianpan,&.icon-video{
                &:before{
                    margin-right: 5px;
                }
            }
            .icon-add{
                position: absolute;
                right: 0;
                top:0;
                height: 2rem;
                width: 2.6rem;
                text-align: center;
            }
        }
        .tool{
            margin-bottom: 1rem;
            input{
                width: auto;
            }
            button{
                margin-right: 1rem;
            }
        }
    }
}
.course_detail{
    position: fixed;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 4rem 2%;
    background-color: $white;
    z-index: 100;
    top: 0;
    left: 110%;
    @include comic(.35);
    &.focus{
        transform: translateX(-110%);        
    }
    .icon-jinru{
        position: absolute;
        z-index: 101;
        top: 4rem;
        right: 2%;
        font-size: 24px;
        color: $themeColor;
    }
    .icon-add{
        position: absolute;
        z-index: 101;
        top: 4rem;
        right: 15%;
        font-size: 24px;
        color: $themeColor;
    }
    .title{
        font-size: 18px;
        margin-bottom: 1rem;
        font-weight: lighter;
        color: $grayLight;
        line-height: 1.5rem;
        &.icon-jianpan,&.icon-video{
            &:before{
                margin-right: .5rem;
            }
        }
    }
    .list{
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        .item{
            box-sizing: border-box;
            padding-left: .3rem;
            height: 2rem;
            line-height: 2rem;
            padding-right: 2.6rem;
            width: 100%;
            display: block;
            background-color: #efefef;
            @include Line(1);
            margin-bottom: .5rem;
            position: relative;
            .icon-delete2{
                position: absolute;
                right: 0;
                top:0;
                height: 2rem;
                width: 2.6rem;
                text-align: center;
            }
        }
        .tool{
            margin-bottom: 1rem;
            input{
                width: auto;
            }
            button{
                margin-right: 1rem;
            }
        }
    }
}
button {
    border: 0;
    background-color: $themeColor;
    padding: 0.5rem 1rem;
    line-height: 1em!important;
    color: $white;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: 0!important;
}
